package com.zjt.entity.brandcategory;

/**
 * Created with IntelliJ IDEA.
 * User: xueyanbeijing
 * Date: 12-8-24
 * Time: AM5:30
 * 类别系列表  例如：茅台--白酒--飞天茅台   serias 相当于小类
 * To change this template use File | Settings | File Templates.
 */

import com.zjt.entity.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 品牌关联表
 */
@Entity
//表名与类名不相同时重新定义表名.
@Table(name="s_category_series")
public class CategorySeries extends BaseEntity {
    private long brandId;
    private long categoryId;
    private String seriesName;
    private String path;      //图片实际路径
    private String urlPath;  //图片网络路径
    private String type;
    private long size;       //大小
    private Integer isPress;//是否打水印
    public long getBrandId() {
        return brandId;
    }

    public void setBrandId(long brandId) {
        this.brandId = brandId;
    }

    public long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(long categoryId) {
        this.categoryId = categoryId;
    }

    public String getSeriesName() {
        return seriesName;
    }

    public void setSeriesName(String seriesName) {
        this.seriesName = seriesName;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getUrlPath() {
        return urlPath;
    }

    public void setUrlPath(String urlPath) {
        this.urlPath = urlPath;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public Integer getPress() {
        return isPress;
    }

    public void setPress(Integer press) {
        isPress = press;
    }

    @Override
    public String toString() {
        return "CategorySeries{" +
                "brandId=" + brandId +
                ", categoryId=" + categoryId +
                ", seriesName='" + seriesName + '\'' +
                ", path='" + path + '\'' +
                ", urlPath='" + urlPath + '\'' +
                ", type='" + type + '\'' +
                ", size=" + size +
                ", isPress=" + isPress +
                '}';
    }
}
